package com.csms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "store_category")
public class StoreCategory implements Serializable {
    /**
     * 分类ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类父ID
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 分类名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新日期
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 状态 0 正常 1停用
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "sort_order")
    private Integer sortOrder;

    private static final long serialVersionUID = 1L;
}